<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>知识</title>
    <link rel="stylesheet" href="knowledge.css">
    <script src="https://kit.fontawesome.com/a076d05399.js"></script>
</head>
<body>
    <div class="container">
        <!-- 顶部标题和搜索栏 -->
        <header>
            <h1>健康知识</h1>
            <div class="search-bar">
                <input type="text" id="searchInput" placeholder="搜索文章...">
                <button id="searchButton">
                    <i class="fas fa-search"></i>
                </button>
            </div>
        </header>

        <!-- 文章列表 -->
        <div class="article-list">
            <!-- 动态加载的文章内容 -->
        </div>

        <!-- 加载动画 -->
        <div id="loading" class="loading">加载中...</div>

        <!-- 错误提示 -->
        <div id="error" class="error"></div>

        <!-- 底部导航 -->
        <nav class="bottom-nav">
            <div class="nav-item" onclick="window.location.href='/demo/index/index.html'">
                <i class="fas fa-hospital"></i>
                <span>医疗</span>
            </div>
            <div class="nav-item active">
                <i class="fas fa-book-medical"></i>
                <span>知识</span>
            </div>
            <div class="nav-item" onclick="window.location.href='/demo/records/records.html'">
                <i class="fas fa-heart"></i>
                <span>档案</span>
            </div>
            <div class="nav-item" onclick="window.location.href='/demo/personal_profile/personal_profile.html'">
                <i class="fas fa-user"></i>
                <span>我的</span>
            </div>
        </nav>
    </div>
    <script src="knowledge.js"></script>
</body>
</html>